package com.lpf.proxy;

import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;

/**
 * 功能描述：代理类
 */
public class MyInvocationHandlerMbatis implements InvocationHandler {

    private Object target;

    public MyInvocationHandlerMbatis(Object target) {
        this.target = target;
    }

    @Override
    public Object invoke(Object proxy, Method method, Object[] args) {
        System.out.println("开始执行..");
        return 1;
    }

}
